//
//  Model_Hr_ExamAnswer.m
//  NursingManages
//
//  Created by Zhen Huang on 17/9/26.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import "Model_Hr_ExamAnswer.h"

@implementation Model_Hr_ExamAnswer


- (NSArray *)optionArray {
    NSMutableArray *answerArray = [[NSMutableArray alloc]init];
    
    if (self.OPTION1 != nil && ![self.OPTION1 isEqual:[NSNull null]]) {
        [answerArray addObject:self.OPTION1];
    }
    if (self.OPTION2 != nil && ![self.OPTION2 isEqual:[NSNull null]]) {
        [answerArray addObject:self.OPTION2];
    }
    if (self.OPTION3 != nil && ![self.OPTION3 isEqual:[NSNull null]]) {
        [answerArray addObject:self.OPTION3];
    }
    if (self.OPTION4 != nil && ![self.OPTION4 isEqual:[NSNull null]]) {
        [answerArray addObject:self.OPTION4];
    }
    if (self.OPTION5 != nil && ![self.OPTION5 isEqual:[NSNull null]]) {
        [answerArray addObject:self.OPTION5];
    }
    if (![self.OPTION6 isEqual:[NSNull null]] && self.OPTION6 != nil) {
        [answerArray addObject:self.OPTION6];
    }
    if (![self.OPTION7 isEqual:[NSNull null]] && self.OPTION7 != nil) {
        [answerArray addObject:self.OPTION7];
    }
    if (![self.OPTION8 isEqual:[NSNull null]] && self.OPTION8 != nil) {
        [answerArray addObject:self.OPTION8];
    }
    if (![self.OPTION9 isEqual:[NSNull null]] && self.OPTION9 != nil) {
        [answerArray addObject:self.OPTION9];
    }
    if (![self.OPTION10 isEqual:[NSNull null]] && self.OPTION10 != nil) {
        [answerArray addObject:self.OPTION10];
    }
    return answerArray;
}


@end
